package zuoye2;

import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Set;
import java.util.function.BiConsumer;

public class Test {
    public static void main(String[] args) {
        HashMap<String, String> s1 = new HashMap<>();
        HashMap<String, String> s2 = new HashMap<>();
        HashMap<String, HashMap<String, String>> map = new HashMap<>();
       s1.put("001","李晨");
       s1.put("002","范冰冰");
        map.put("Java基础班",s1);
        s2.put("001","马云");
        s2.put("002","马化腾");
        map.put("java就业班",s2);

        map.forEach(new BiConsumer<String, HashMap<String, String>>() {
            @Override
            public void accept(String string, HashMap<String, String> stringStringHashMap) {
                System.out.println(string+stringStringHashMap);
            }
        });


    }
}
